package com.hhkj.admin.bank.service.extend;

import com.hhkj.admin.bank.domain.BankQuestionAsso;
import com.hhkj.admin.bank.model.dopo.BankQuestionAssoDo;
import com.hhkj.admin.bank.model.dopo.BankQuestionAssoPo;
import com.hhkj.admin.bank.model.req.BankReq;
import com.ruoyi.common.base.biz.service.extend.BaseExtendService;

import java.util.Collection;

/**
 * BankQuestionAssoServiceExtend
 *
 * @author HHKJ-SERVER-ZJ
 * @since 2023/6/8 15:51
 */
public interface BankQuestionAssoExtendService
        extends BaseExtendService<BankQuestionAsso, BankQuestionAssoDo, BankQuestionAssoPo>
{

    /**
     * 保存题库得题目关联信息
     *
     * @param bankDoList 题库信息列表
     * @return true/false
     */
    boolean saveBatchForBank(Collection<BankReq> bankDoList);

    /**
     * 保存题库得题目关联信息
     *
     * @param bank 题库信息
     * @return true/false
     */
    boolean saveForBank(BankReq bank);
}
